/*
 * ===================================================
 *
 *       Filename:  draw.c
 *
 *
 *        Created:  10/21/2011 11:35:22 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  durand_y, <durand.yoan@gmail.com>
 *
 * ===================================================
 */
#include "game.h"

void draw_rect(int   pos_x,
	       int   pos_y,
	       SDL_Surface *rec,
	       SDL_Surface *screen)
{
    SDL_Rect pos;
    pos.x = pos_x;
    pos.y = pos_y;
    SDL_BlitSurface(rec, NULL, screen, &pos);
}
